home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 43
/
Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso
/
-serious-
/
programming
/
basic
/
mildred
/
lha
/
ilbmviewer.lha
/
ILBMviewer.Readme
< prev
next >
Wrap
Text File
|
1998-11-25
|
1KB
|
23 lines
This is a demonstration of some of Mildred's routines in action, particularly an
implementation of full support for the interlacing features of the c2p system.
You choose a screenmode and size, and then load in an ILBM picture. It can be
from 2-256 colours and also Ham8. Ham6, EHB and 24-bit are not supported. The pic
will be loaded into fastram. It is then displayed and scrolled using the c2p
system.
Pressing the right-mouse-button toggles combinations of c2p interlacing modes,
and LMB exits to report a framerate for the most recently used interlace mode.
Part of the code is an ILBM-to-chunky loader, and another part contains a
screenmode-requester routine with callback hooks.
This program was originally the beginnings of a game that was to use a
superbitmap and also didn't start off life working with Mildred's routines so
there is still a bit of assembler code dotted about.
From startup the demo will be using a double-buffered screen, and the picture is
also backed-up to a second bitmap because this was going to be needed in the
game (its in fastram though).